﻿// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
//
// 本项目主要遵循 MIT 许可证和 Apache 许可证（版本 2.0）进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
//
// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动！任何基于本项目二次开发而产生的一切法律纠纷和责任，我们不承担任何责任！

using Admin.NET.Core;
using Admin.NET.Core;
using Admin.NET.Application.Entity;

namespace Admin.NET.Application.SeedData;

/// <summary>
/// 系统销售单表 表种子数据
/// </summary>

public class SysSalesOrderSeedData : ISqlSugarEntitySeedData<Syssalesorder>
{
    /// <summary>
    /// 种子数据
    /// </summary>
    /// <returns></returns>
    
    public IEnumerable<Syssalesorder> HasData()
    {
        return new List<Syssalesorder> {
            new() { Id=1700000000101, Code=@"XSDH9051", DocumentStatus=DocumentStatusEnum.Draft, SalesDate=DateTime.Parse("2024-02-29 00:00:00.000"), CustomerName=@"客户一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", SalesDeptId=1300000000002, SalesManagerId=1300000000112, SalesQuantity=1, SalesAmount=8500.00m, GoodsName=@"iPhone 15 Pro", Remark=@"草稿状态销售单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 09:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=1700000000102, Code=@"XSDH6468", DocumentStatus=DocumentStatusEnum.Draft, SalesDate=DateTime.Parse("2024-02-29 00:00:00.000"), CustomerName=@"客户一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", SalesDeptId=1300000000002, SalesManagerId=1300000000112, SalesQuantity=2, SalesAmount=1800.00m, GoodsName=@"Nike运动鞋", Remark=@"草稿状态销售单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 10:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=1700000000103, Code=@"XSDH3257", DocumentStatus=DocumentStatusEnum.PendingReview, SalesDate=DateTime.Parse("2024-02-29 00:00:00.000"), CustomerName=@"客户一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", SalesDeptId=1300000000003, SalesManagerId=1300000000113, SalesQuantity=10, SalesAmount=60.00m, GoodsName=@"蒙牛纯牛奶", Remark=@"待审核状态销售单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 11:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=1700000000104, Code=@"XSDH4964", DocumentStatus=DocumentStatusEnum.PendingReview, SalesDate=DateTime.Parse("2024-02-29 00:00:00.000"), CustomerName=@"客户一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", SalesDeptId=1300000000003, SalesManagerId=1300000000113, SalesQuantity=1, SalesAmount=600.00m, GoodsName=@"宜家书桌", Remark=@"待审核状态销售单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 12:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=1700000000105, Code=@"XSDH4563", DocumentStatus=DocumentStatusEnum.PendingReview, SalesDate=DateTime.Parse("2024-02-29 00:00:00.000"), CustomerName=@"客户一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", SalesDeptId=1300000000004, SalesManagerId=1300000000114, SalesQuantity=1, SalesAmount=400.00m, GoodsName=@"哑铃套装", Remark=@"待审核状态销售单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 13:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=1700000000106, Code=@"XSDH3743", DocumentStatus=DocumentStatusEnum.Rejected, SalesDate=DateTime.Parse("2024-02-29 00:00:00.000"), CustomerName=@"客户一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", SalesDeptId=1300000000004, SalesManagerId=1300000000114, SalesQuantity=1, SalesAmount=13000.00m, GoodsName=@"MacBook Pro", Remark=@"驳回状态销售单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 14:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=1700000000107, Code=@"XSDH4823", DocumentStatus=DocumentStatusEnum.Rejected, SalesDate=DateTime.Parse("2024-02-29 00:00:00.000"), CustomerName=@"客户一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", SalesDeptId=1300000000002, SalesManagerId=1300000000115, SalesQuantity=3, SalesAmount=750.00m, GoodsName=@"Adidas运动服", Remark=@"驳回状态销售单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 15:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=1700000000108, Code=@"XSDH3459", DocumentStatus=DocumentStatusEnum.NotOutOfWarehouse, SalesDate=DateTime.Parse("2024-02-29 00:00:00.000"), CustomerName=@"客户一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", SalesDeptId=1300000000003, SalesManagerId=1300000000112, SalesQuantity=20, SalesAmount=80.00m, GoodsName=@"可口可乐", Remark=@"未入库状态销售单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 16:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=1700000000109, Code=@"XSDH1897", DocumentStatus=DocumentStatusEnum.Rejected, SalesDate=DateTime.Parse("2024-02-29 00:00:00.000"), CustomerName=@"客户一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", SalesDeptId=1300000000004, SalesManagerId=1300000000113, SalesQuantity=2, SalesAmount=4400.00m, GoodsName=@"小米手机", Remark=@"部分入库状态销售单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 17:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=1700000000110, Code=@"XSDH7261", DocumentStatus=DocumentStatusEnum.Completed, SalesDate=DateTime.Parse("2024-02-29 00:00:00.000"), CustomerName=@"客户一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", SalesDeptId=1300000000002, SalesManagerId=1300000000114, SalesQuantity=1, SalesAmount=2800.00m, GoodsName=@"华为平板", Remark=@"已完成状态销售单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 18:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
        };
    }
}
